<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<title>修改密码 - 商务室 - <{$sitetitle}></title>
<link href="<{$CSS_PATH}>css/style.css" rel="stylesheet" type="text/css">
<link href="<{$INC_PATH}>css/room.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<{$JS_PATH}>js/prototype.js"></script>
<script type="text/javascript">
function checkInput(){
	if($F('oldpass') == ""){
		alert("请填写原来的密码！");
		$('oldpass').focus();
		return false;
	}
	if($F('newpass') != $F('re_newpass')){
		alert("前后密码输入不一致");
		$('newpass').focus();
		return false;
	}
	if($F('newpass') == $F('oldpass')){
		alert("密码与原密码一致，无须修改");
		$('newpass').focus();
		return false;
	}
	$('BtnChangePwd').disabled=true;
	document.changepassfrm.submit();
}

</script>
<{$xajax_javascript}>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td height="83"><{include file="default/element.top.html"}></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr align="center" valign="top">
    <td width="180" align="center" background="<{$tpl_img_path}>office/left_bg.gif"><{include file="room/menu.html"}></td>
    <td><table  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="<{$tpl_img_path}>office/banr_pic.gif" width=570 height=101 alt=""></td>
      </tr>
    </table>
      <table width="95%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="45" background="<{$tpl_img_path}>office/title_bg.gif"><table height="30" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td>&nbsp;</td>
                <td class="font14b_org"><img src="<{$tpl_img_path}>office/password.gif" width="15" height="16"> 修改我的密码</td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="5" valign="top" class="bggray2"></td>
        </tr>
      </table>
	  <form name="changepassfrm" method="post" action="./changepass.php">
	  <input type="hidden" name="change" value="y" />
      <table width="95%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="35"><span class="gray">&nbsp;（提示：带<font color="#FF6600"> * </font>号的为必填项）</span></td>
            </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="21%" class="bgblue"><img src="<{$tpl_img_path}>office/corner_01.gif" width="12" height="12"></td>
                      <td align="right" valign="top" class="tdright"><img src="<{$tpl_img_path}>office/corner_02.gif" width="12" height="12"></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td>
				<table width="100%" border="0" cellspacing="0" cellpadding="5">
                    
                    <tr>
                      <td width="21%" class="tdleft"><span class="fontred"> *</span> 旧密码：</td>
                      <td width="33%" class="tdright"><input name="oldpass" type="password" id="oldpass" onBlur="xajax_checkOldPassword($F('oldpass'));" onChange="xajax_checkOldPassword($F('oldpass'));" value="">
                        </td>
                      <td width="46%" class="tdright"><span id="checkoldpwdDiv"></span></td>
                    </tr>
                    <tr>
                      <td valign="top" class="tdleft"><span class="fontred"> *</span> 新密码：</td>
                      <td colspan="2" class="tdright"><p>
                          <input name="newpass" type="password" id="newpass">
                      </p></td>
                    </tr>
                    <tr>
                      <td valign="top" class="tdleft"><span class="fontred"> *</span> 重复新密码：</td>
                      <td colspan="2" class="tdright"><p>
                          <input name="re_newpass" type="password" id="re_newpass">
                      </p></td>
                    </tr>
                    <tr>
                      <td valign="top" class="tdleft"><span class="fontred"> </span> 密码问题：</td>
                      <td colspan="2" class="tdright"><p>
                          <input name="answer" type="text" id="answer" size="30">
                          <span class="orange">（
如果不需要修改，可以不填！）</span> </p></td>
                    </tr>
                    <tr>
                      <td valign="top" class="tdleft"><span class="fontred"> </span> 密码答案：</td>
                      <td colspan="2" class="tdright"><p><input name="question" type="text" id="question" size="30">
                      </p></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="21%" class="tdleft"><img src="<{$tpl_img_path}>office/corner_03.gif" width="12" height="12"></td>
                      <td align="right" valign="top" class="tdright"><img src="<{$tpl_img_path}>office/corner_04.gif" width="12" height="12"></td>
                    </tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="40" align="center"><br>
          <input name="btn_change_pwd" type="button" id="BtnChangePwd" value="我确定修改密码" onClick="return checkInput();"></td>
        </tr>
      </table>
	  </form>
      <br>
      <br>      
    <br>
    <table width="95%"  border="0" cellpadding="3" cellspacing="1" bgcolor="#E8E8E8">
      <tr>
        <td bgcolor="#FFFFFF"><table width="100%"  border="0" cellpadding="5" cellspacing="0">
            <tr>
              <td class="bottom"><strong>【请注意】：</strong> <BR>
            　<span class="zi">1. 请不要使用和用户名有雷同的密码。<br>
　2. 密码建议长度为6-20位之间，尽量使用数字和字母的结合。<br>
　3. 密码问题可以是“我妹妹的名字”，答案：“玛丽”。这样你以后即便是忘记了密码也可以通过网站在找回密码。</span></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<{include file="room/foot.html"}>
</body>
</html>